package com.njtoyo.taxi.admin.rest.wrapper.business.ride;

import cn.hutool.core.date.DatePattern;
import cn.hutool.core.date.DateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;

@ApiModel("修改未付款订单金额")
@Data
public class CloseDriverAutomaticWrapper {

    @ApiModelProperty(value = "可开启的时间，格式：yyyy-MM-dd HH:mm:ss", required = true)
    @DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    @NotNull(message = "可开启的时间 不能为空")
    private DateTime automaticOpenTime;

}
